//
//  XJHelper.h
//  XinJiangMall
//
//  Created by Tzyang on 2018/4/10.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "XJHelperConfigure.h"

@interface XJHelper : NSObject

@property (nonatomic ,copy) XJRetureValueBlock returnBlock;
@property (nonatomic ,copy) XJFailureBlock failBlock;
@property (nonatomic ,copy) XJErrorCodeBlock errorBlock;

/*! 传入Block块
 *  @param returnBlock 处理结果回调
 *  @param failBlock 请求失败回调
 *  @param errBlock 错误信息回调
 */
- (void) setBlockWithReturnBlock:(XJRetureValueBlock)returnBlock
                    failureBlock:(XJFailureBlock)failBlock
                      errorBlock:(XJErrorCodeBlock)errBlock;

@end
